<template>
	<view>
		<view class='my-order'>

			<!-- <view class='nav acea-row row-around'></view> -->
				<!-- <view v-for="item in buyInNavList">
					<view class='item' :class='item.orderStatus==orderStatus? "on": ""'
						@click="statusClick(item.orderStatus)">
						<view>{{item.name}}</view>
					</view>
				</view> -->
				<u-tabs :list="buyInNavList" :is-scroll=true :current="current" @change="tabsChange" ref="tabs" swiperWidth="750"
					active-color="#aa0000" inactive-color="#606266"></u-tabs>
			

			<view class="list" v-for="item in List">
				<view class="topBox" @click="goToDetail(item.orderNo,item)">

					<view class="info_img">
						<img :src="item.img" alt="" style="height: 100%;width: 100%;" />
					</view>
					<view class="right_box">
						<view class="list_txt">
							<view class="">{{item.productName}}</view>
							<view class="numPic">
								{{item.status==1?$t('order.pending'):item.status==2?$t('order.confirm'):item.status==3?$t('order.select'):item.status==5?$t('order.complete'):item.status==6?$t('order.status6'):item.status==4?$t('order.unfinished'):$t('appeal')}}
							</view>
						</view>

						<!-- v-if="item.reviewImages == null" -->
						<view class="" v-if="item.status==1 || item.status==2">


							<view class="countDown" v-if="item.secondFailureTime>0">
								<u-count-down ref="uCountDown" color="#d9001b" :timestamp="item.secondFailureTime" @end="end"
									style="color: red;"></u-count-down>

								<!-- 	{{item.failureTime}}
								后订单失效(请尽快上传凭证) -->
							</view>
						</view>

						<!-- 	<view class="">
							
						</view> -->


						<view class="num_Box">
							<view class="num_pic">{{item.price}}</view>
							<view class="earnings">{{item.remark}}{{item.remark1}}</view>
						</view>
					</view>
				</view>
				<view class="creat">
					<view class="time">
						{{item.updateTime}}
					</view>
					<view class="btn_flex" v-if="item.status==1 && item.secondFailureTime>0">
						<button type="primary" v-if="item.status==1" size="mini"
							@click="upload(item.id)">{{$t('order.upload-voucher')}}</button>
						<!-- <button type="primary" v-if="waitpick" size="mini" @click="pay(item.id)">立即支付</button> -->

						<!-- <button v-if="item.status == 7" type="warn" size="mini" @click="appeal(item)">申诉</button> -->
						<!-- <button type="primary" v-if="item.status == 2" size="mini" class="checkBtn" @click="checkImg(item)">查看凭证</button> -->


					</view>
					<view class="" v-if="item.status == 2">
						<button type="primary" v-if="item.status == 2" size="mini" class="checkBtn"
							@click="checkImg(item)">{{$t('order.view-voucher')}}</button>
					</view>


					<view class="btn_flex" v-if="item.status==3">
						<button type="primary" size="mini" class="checkBtn"
							@click="expressage(item,1)">{{$t('order.buyer-pick')}}</button>
						<button type="primary" size="mini" class="checkBtn"
							@click="expressage(item,2)">{{$t('order.buyer-Send')}}</button>

					</view>


				</view>
			</view>

			<view class="bg" v-if="isShowCard"></view>
			<view class="showCard" v-if="isShowCard">
				<u-card title="提示">
					<view class="" slot="body">
						<view class="tit">{{this.$t('order.buyer-reason')}} :</view>
						<view class="u-body-item u-flex  u-border-bottom  u-p-t-0">

							<view class="txt_flex" style="width: 100%;">

								<u-input v-model="valueReaon" :type="type" :border="border" :auto-height="autoHeight" />
							</view>

						</view>
					</view>
					<view class="" slot="foot" style="display: flex;justify-content: space-around;">
						<button @click="back" hover-class="none"
							style="border: 1px solid #ccc;width: 90px;height: 40px;line-height: 40px;">{{this.$t('public.return')}}</button>
						<button @click="comfirm" hover-class="none" style="width: 90px;height: 40px;line-height: 40px;"
							type="primary">{{this.$t('public.confirm')}}</button>
					</view>
				</u-card>
			</view>


			<view class='loadingicon acea-row row-center-wrapper' v-if="List.length>0">
				<text class='loading iconfont icon-jiazai' :hidden='loading==false'></text>{{loadTitle}}
			</view>
			<view v-if="List.length == 0">
				<emptyPage :title="noOrderData"></emptyPage>
			</view>
		</view>
		<view class='noCart' v-if="List.length == 0 && page > 1">
			<view class='pictrue'>
				<image src='/images/noOrder.png'></image>
			</view>
		</view>

<!-- <view class="" style="display: flex;justify-content: center;color: #ccc;" v-if="hotScroll">
		{{$t('order.Nodata')}}
	</view>
	<view class="" style="display: flex;justify-content: center;color: #ccc;" v-else>
		{{$t('public.tips.load-more')}}
	</view> -->
		<home></home>

		<!-- 	<u-modal v-model="uploadModal" :show-cancel-button="true" confirm-text="上传"
				title="上传凭证"
			>
				<view class="u-update-content" style="padding: 10px;">
					
					
				</view>
				
			</u-modal> -->

		<u-popup v-model="uploadModal" mode="bottom" height="500rpx" style="padding: 20px;" z-index="3">
			<view class="" style="display: flex;flex-direction: column;justify-content: space-around;height: 100%;">

				<view class="" style="margin-left: 30px;">


					<u-upload :header="header" :action="action" max-count="3" :file-list="fileList" name="multipart"
						@on-success='handSuccess' @on-remove="onRemove" :upload-text='uploadText'  :show-tips="false"></u-upload>
				</view>
				<view class="" style="display: flex;justify-content: space-around;">
					<view class="" style="width: 35%;">
						<u-button type="info" @click="closeModal">{{this.$t('public.tips-cancel')}}</u-button>
					</view>

					<view class="" style="width: 35%;">
						<u-button type="primary" @click="uploadImg">{{this.$t('order.buyer-upload')}}</u-button>
					</view>
				</view>
			</view>
		</u-popup>
		<!-- <payment :payMode='payMode' :pay_close="pay_close" @onChangeFun='onChangeFun' :order_id="pay_order_id" :totalPrice='totalPrice'></payment> -->
	</view>
</template>

<script>
	import {
		getOrderList,
		orderData,
		orderCancel,
		orderDel
	} from '@/api/order.js';

	import {
		userWarehousePay,
		imageReview,
		selectPass,
		payUserAppeal

	} from '@/api/new.js';

	import {
		openOrderSubscribe
	} from '@/utils/SubscribeMessage.js';
	import home from '@/components/home';
	import payment from '@/components/payment';
	import {
		toLogin
	} from '@/libs/login.js';
	import {
		mapGetters
	} from "vuex";

	import emptyPage from '@/components/emptyPage.vue';
	import {
		HTTP_ADMIN_URL,
		TOKENNAME
	} from '@/config/app';
	import store from '@/store';

	export default {
		components: {
			payment,
			home,
			emptyPage,
			// #ifdef MP
			authorize
			// #endif
		},
		data() {
			return {
				uploadText:this.$t('order.pay.select'),
				noOrderData: this.$t('order.no-order-tips'),
				userPayStoreId: '',
				showUploadList: true,
				action: HTTP_ADMIN_URL + '/api/front/userAuthCollectionUpload',
				header: {
					// "Content-Type": "multipart/form-data",				
					[TOKENNAME]: store.state.app.token
				},
				fileList: [],
				listImg: [],
				addressList: [],
				result: '',
				uploadModal: false,
				type: 'textarea',
				border: true,
				height: 100,
				autoHeight: true,
				valueReaon: '',
				isShowCard: false,
				loading: false, //是否加载中
				loadend: false, //是否加载完毕
				loadTitle: this.$t('public.tips.load-more'), //提示语
				orderList: [], //订单数组
				orderData: {}, //订单详细统计
				orderStatus: 0, //订单状态
				shopStatus: 0,
				hotScroll:false,
				page: 1,
				limit: 20,
				pay_close: false,
				pay_order_id: '',
				totalPrice: '0',
				isAuto: false, //没有授权的不会自动授权
				isShowAuth: false, //是否隐藏授权
				List: [],
				navList: [],
				// 1寄售中2待付款3待确认4已完成 5未完成
				buyInNavList: [{
						name: this.$t('order.all'),
						orderStatus: 0,
						value: 0
					}, {
						name: this.$t('order.pending-confirm'),
						orderStatus: 1,
						value: 1
					},
					// {
					// 	name: '待确认',
					// 	orderStatus: 2,
					// 	value: 2
					// },
					{
						name: this.$t('order.complete'),
						orderStatus: 3,
						value: 3
					},
					{
						name: this.$t('order.unfinished'),
						orderStatus: 4,
						value: 4
					}
				],
				tempFile: [],
				path: '',
				waitpick: true,
				reasonId: '',
				isBack: false,
				photosNum: '',
				photosId: '',
				arrData: [],
				current: 0,
				params: { //分页
					page: 1,
					limit: 10,
				},

			};
		},
		computed: mapGetters(['isLogin', 'userInfo']),
		onShow() {
			uni.setNavigationBarTitle({
				title: this.$t('user.my-buy-order')
			})
			console.log(123, this.isBack);
			let that = this
			if (this.isBack) {
				if (uni.getStorageSync('homeAddress').id) {

					let data = {
						status: this.photosNum,
						userStorePayId: this.photosId,
						addressId: uni.getStorageSync('homeAddress').id,
						
					}
					// console.log(this.photosNum,this.photosId,uni.getStorageSync('homeAddress').id);
					selectPass(data).then(res => {
						that.$util.Tips({
							title: this.$t('buyIn.bidding') 
						});
						setTimeout(() => {
							this.hotScroll = false
							this.params.page = 1
							this.List = []
							that.getList()
						}, 500)

						console.log(res, 'selectPass');

					}).catch(err => {
						that.$util.Tips({
							title: err
						});
					});
				} else {
					that.$util.Tips({
						title: this.$t('buyIn.select')
					});
				}
			}
			// if (this.isLogin) {
			// 	this.loadend = false;
			// 	this.page = 1;
			// 	this.$set(this, 'orderList', []);
			// 	this.getOrderData();
			// 	this.getOrderList();
			// 	this.payMode[1].number = this.userInfo.nowMoney;
			// 	this.$set(this, 'payMode', this.payMode);
			// } else {
			// 	toLogin();
			// }
			this.getList()
		},
		methods: {
			onRemove(index, lists){
				console.log(index,lists,'index, lists');
			},
			end(timestamp){
				setTimeout(() => {
					
					this.getList();
					console.log('倒计时结束了,刷新',timestamp);
				}, 700)
			},
			uploadImg() {
				let that = this;

				if (this.listImg.length !== '' && this.listImg.length > 0) {
					let data = {
						imageUrl: that.result,
						userPayStoreId: that.userPayStoreId
					}
					// result +=",".join(this.listImg[i].file)
					imageReview(data).then(res => {

							console.log(res, '????????');
							that.$util.Tips({
								title: that.$t('order.upload.success')
							});
							this.uploadModal = false
							this.fileList = []
							this.List = []
							this.params.page = 1
							this.hotScroll = false
							this.getList()
						})
						.catch(res => {
							that.$util.Tips({
								title: that.$t('upload.error')
							});
						});

				} else {
					that.$util.Tips({
						title: '请选择图片'
					});
				}
			},
			closeModal() {
				this.uploadModal = false
			},
			handSuccess(data, index, lists, name) {
				console.log(data, 'data');
				this.listImg = lists
				let str = ''
				this.arrData.push(data.data.url)
				console.log(this.listImg, 'lists', this.arrData);
				for (let i = 0; i < this.arrData.length; i++) {
					str += this.arrData[i] + ','

				}
				this.result = str.slice(0, -1)
				// this.result data.data.url
				console.log(this.result, 'strstrstrstr');

			},
			comfirm() {
				let that = this
				let data = {
					userPayStoreId: this.reasonId,
					remark: this.valueReaon
				}

				payUserAppeal(data).then(res => {
					console.log(res, '申诉成功了');
					that.$util.Tips({
						title: res.data.message
					});

					this.isShowCard = false
					// this.orderStatus = 1
					
					this.getList()
				}).catch(res => {
					that.$util.Tips({
						title: res
					});
				});
			},
			appeal(item) {
				console.log(item.id, '申诉的id');
				this.reasonId = item.id
				this.isShowCard = true
			},
			expressage(e, num) {
				let that = this
				console.log(e, 'eererer', num);
				// let applyArr = e.payAddrList
				this.photosNum = num
				this.photosId = e.id
				if (num == 1) {
					uni.navigateTo({
						url: '/pages/users/user_address_list/index'
					})
					this.isBack = true
				} else {
					
					
					
					
					let data = {
						status: num,
						userStorePayId: e.id,
						addressId: ''
					}
					selectPass(data).then(res => {
						// if(res.data.code ==200){
							
						// 	console.log(res, '////////');
						// }
						if(res.data.code==200){
							console.log(res,'selectPass');
							
							this.hotScroll = false
							this.params.page = 1												
							that.List = []
							that.getList()
						}else if(res.data.code == 2003){
							
							uni.showModal({
								title: this.$t("public.tips"),
								content: this.$t("salePassTips"),
								success: function(res) {
									if (res.confirm) {
										uni.navigateTo({
											url:'/pages/users/add_address/index'
										})
									} else if (res.cancel) {
										console.log('用户点击取消');
									}
								}
							});
							
							
						}else{
							that.$util.Tips({
								title: this.$t("auctionTips.2007"),
							});
						}
						
						// that.$util.Tips({
						// 	title: res
						// });
					}).catch(err => {
						that.$util.Tips({
							title: this.$t('auctionTips.2007')
						});
					});
				}

				// let data = {
				// 	status: num,
				// 	userStorePayId: e.id,
				// 	addressId:''
				// }
				// selectPass(data).then(res => {
				// 	that.getList()
				// 	console.log(res, '////////');
				// 	that.$util.Tips({
				// 		title: res
				// 	});
				// }).catch(err => {
				// 	that.$util.Tips({
				// 		title: err
				// 	});
				// });
			},
			checkImg(e) {
				console.log(e, 'kkk');
				let imgsArray = e.reviewImages.split(',')
				// let imgsArray = [];
				// imgsArray = e.reviewImages;
				uni.previewImage({
					urls: imgsArray,
					current: 0
				});
			},
			pay() {

			},
			upload(id) {
				let that = this;
				this.userPayStoreId = id
				this.uploadModal = true
				// that.$util.uploadImageOne({
				// 	url: 'userAuthCollectionUpload',
				// 	count:3,
				// 	name: 'multipart',
				// 	model: "maintain",
				// 	pid: 0
				// }, function(res) {
				// 	// that.newAvatar = res.data.url;
				// 	console.log(res, '!!!!!');



				// let data = {
				// 	imageUrl: res.data.url,
				// 	userPayStoreId: id
				// }
				// console.log(data, 'data');
				// imageReview(data).then(res => {
				// 		console.log(res, '????????');
				// 		that.$util.Tips({
				// 			title: res.data.msg
				// 		});
				// 		// this.waitpick = false
				// 		that.getList()
				// 	})
				// 	.catch(res => {
				// 		that.$util.Tips({
				// 			title: res
				// 		});
				// 	});


				// });
			},
			getList(val) {
				let that = this
				let ch = uni.getStorageSync('AppLocale').code
				// let data = {
				// 	status: this.orderStatus == 0 ? '' : this.orderStatus
				// }
				if (that.hotScroll) return;
				that.loading = true;
				that.loadTitle = this.$t('public.tips.load-more');
				let data = {
					status: val ? val : this.orderStatus == 0 ? null : this.orderStatus == 2 ? 1 : this.orderStatus,
					page:that.params.page,
					limit:that.params.limit,
				}
				userWarehousePay(data).then(res => {
					if(that.hotScroll) return
					that.params.page++
					that.hotScroll = res.data.list.length < that.params.limit
					console.log(res, 'sss');
					// this.List = res.data.list
					that.loading = false;
					let arr = [...this.List,...res.data.list]
					
					arr.forEach(item => {
						if(item.productName){
							
						
						if (item.productName.includes('|')) {
							if (ch == "en") {
							   
								item.productName = item.productName.split('|')[0]
							} else {
								item.productName = item.productName.split('|')[1]
								
							}
							if(item.status == 4){
								 item.remark = this.$t('system.deduct.money')
							}
							}
						}
					
					})
					
					this.List = arr
					
				})
			},

			/**
			 * 切换类型
			 */
			statusClick: function(status) {
				if (status == this.orderStatus) return;
				this.orderStatus = status;
				this.shopStatus = status;
				this.loadend = false;
				this.params.page = 1
				// this.$set(this, 'orderList', []);
				// this.getOrderList();
				// this.userProductList()
				this.getList()
			},
			tabsChange(index) {
				console.log(index, this.orderStatus);
				// if (index == this.orderStatus) return
				switch (index) {
					case 0:
						this.orderStatus = 0
						this.shopStatus = 0;
						break;
					case 1:
						this.orderStatus = 1
						this.shopStatus = 1;
						break;
					case 2:
						this.orderStatus = 3
						this.shopStatus = 3;
						break;
					case 3:
						this.orderStatus = 4
						this.shopStatus = 4;
						break;
					
				}
				console.log(index, 'index');
				this.current = index
				this.hotScroll = false;
				// this.page = 1;
				// this.searchId = id
				this.List = []
				this.params.page = 1
				
				this.getList()
			},

			goToDetail(e, item) {

				if (item.isDivision == null) {
					console.log('123', item);
					uni.navigateTo({
						url: `/pages/users/order_list/buy_In?id=${item.id}&orderNo=${e}`
					})
				} else {
					this.$util.Tips({
						title: this.$t('order.Trigger')
					});
				}

			},



			// onLoadFun() {
			// 	this.getOrderData();
			// 	this.getOrderList();
			// },


			getOrderData: function() {
				let that = this;
				orderData().then(res => {
					that.$set(that, 'orderData', res.data);
				})
			},

			/**
			 * 打开支付组件
			 * 
			 */
			goPay(pay_price, order_id) {
				this.$set(this, 'pay_close', true);
				this.$set(this, 'pay_order_id', order_id);
				this.$set(this, 'totalPrice', pay_price);
			},
			/**
			 * 支付成功回调
			 * 
			 */
			pay_complete: function() {
				this.loadend = false;
				this.page = 1;
				this.$set(this, 'orderList', []);
				this.$set(this, 'pay_close', false);
				this.getOrderData();
				this.getOrderList();
			},
			/**
			 * 支付失败回调
			 * 
			 */
			pay_fail: function() {
				this.pay_close = false;
			},
			/**
			 * 去订单详情
			 */
			goOrderDetails: function(order_id) {
				if (!order_id) return that.$util.Tips({
					title: '缺少订单号无法查看订单详情'
				});
				// #ifdef MP
				uni.showLoading({
						title: this.$t('public.tips.now-loading')
					},
				})
			openOrderSubscribe().then(() => {
				uni.hideLoading();
				uni.navigateTo({
					url: '/pages/order_details/index?order_id=' + order_id
				})
			}).catch(() => {
				uni.hideLoading();
			})
			// #endif  
			// #ifndef MP
			uni.navigateTo({
				url: '/pages/order_details/index?order_id=' + order_id
			})
			// #endif
		},

		/**
		 * 获取订单列表
		 */
		getOrderList: function() {
			let that = this;
			if (that.loadend) return;
			if (that.loading) return;
			that.loading = true;
			that.loadTitle = this.$t('public.tips.load-more');
			getOrderList({
				type: that.orderStatus,
				page: that.page,
				limit: that.limit,
			}).then(res => {
				let list = res.data.list || [];
				let loadend = list.length < that.limit;
				that.orderList = that.$util.SplitArray(list, that.orderList);
				that.$set(that, 'orderList', that.orderList);
				that.loadend = loadend;
				that.loading = false;
				that.loadTitle = loadend ? this.$t('public.tips.no-data') : this.$t('public.tips.load-more');
				that.page = that.page + 1;
			}).catch(err => {
				that.loading = false;
				that.loadTitle = this.$t('public.tips.load-more');
			})
		},

		/**
		 * 删除订单
		 */
		delOrder: function(order_id, index) {
			let that = this;
			orderDel(order_id).then(res => {
				that.orderList.splice(index, 1);
				that.$set(that, 'orderList', that.orderList);
				that.$set(that.orderData, 'unpaid_count', that.orderData.unpaid_count - 1);
				that.getOrderData();
				return that.$util.Tips({
					title: '删除成功',
					icon: 'success'
				});
			}).catch(err => {
				return that.$util.Tips({
					title: err
				});
			})
		},
	},
	onReachBottom: function() {
		this.getList();
	}
	}
</script>

<style scoped lang="scss">
	.my-order {
		position: relative;

		.showCard {
			width: 100%;
			height: 300px;
			position: absolute;
			top: 0;
			left: 50%;
			transform: translate(-50%, 50%);
			z-index: 2;
		}

		.bg {
			position: absolute;
			top: 0;
			width: 100%;
			height: 100vh;
			background: #333;
			z-index: 2;

		}
	}

	.my-order .header {
		height: 250rpx;
		padding: 0 30rpx;
	}

	.my-order .header .picTxt {
		height: 190rpx;
	}

	.my-order .header .picTxt .text {
		color: rgba(255, 255, 255, 0.8);
		font-size: 26rpx;
		font-family: 'Guildford Pro';
	}

	.my-order .header .picTxt .text .name {
		font-size: 34rpx;
		font-weight: bold;
		color: #fff;
		margin-bottom: 20rpx;
	}

	.my-order .header .picTxt .pictrue {
		width: 122rpx;
		height: 109rpx;
	}

	.my-order .header .picTxt .pictrue image {
		width: 100%;
		height: 100%;
	}

	.my-order .nav {
		background-color: #fff;
		// width: 690rpx;
		// height: 140rpx;
		border-radius: 14rpx;
		// margin: -60rpx auto 0 auto;
	}

	.my-order .nav .item {
		text-align: center;
		// font-size: 26rpx;
		color: #282828;
		padding: 26rpx 0;
	}

	.my-order .nav .item.on {
		// font-weight: bold;
		// border-bottom: 5rpx solid #e93323;
		/* #ifdef H5 || MP */
		font-weight: bold;
		/* #endif */
		border-bottom: 5rpx solid $theme-color;
	}

	.my-order .nav .item .num {
		margin-top: 18rpx;
	}

	.my-order .list {
		// width: 690rpx;
		// margin: 14rpx auto 0 auto;
		background-color: #fff;
		margin: 10px;
		padding: 8px;

		.topBox {
			display: flex;

			.right_box {
				flex: 1;

				.countDown {
					color: rgb(217, 0, 27);
					padding: 3px 0 10px 0;
					width: 80%;
				}

				.num_Box {
					display: flex;

					.num_pic {
						font-size: 18px;
						font-weight: 700;
					}

					.earnings {
						margin: 3px 8px;
						color: rgb(115, 150, 58);
					}
				}

			}

			.info_img {
				// background-color: aqua;
				width: 70px;
				height: 70px;
				margin-right: 10px;
			}

			.list_txt {
				display: flex;
				justify-content: space-between;

				flex: 1;
			}
		}

		.creat {
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin: 6px 0;

			.btn_flex {
				display: flex;

				.checkBtn {
					margin-left: 10px;
				}
			}
		}
	}

	.my-order .list .item {
		background-color: #fff;
		border-radius: 14rpx;
		margin-bottom: 14rpx;
	}

	.my-order .list .item .title {
		height: 84rpx;
		padding: 0 24rpx;
		border-bottom: 1rpx solid #eee;
		font-size: 28rpx;
		color: #282828;
	}

	.my-order .list .item .title .sign {
		font-size: 24rpx;
		padding: 0 13rpx;
		height: 36rpx;
		margin-right: 15rpx;
		border-radius: 18rpx;
	}

	.my-order .list .item .item-info {
		padding: 0 24rpx;
		margin-top: 22rpx;
	}

	.my-order .list .item .item-info .pictrue {
		width: 120rpx;
		height: 120rpx;
	}

	.my-order .list .item .item-info .pictrue image {
		width: 100%;
		height: 100%;
		border-radius: 14rpx;
	}

	.my-order .list .item .item-info .text {
		width: 500rpx;
		font-size: 28rpx;
		color: #999;
	}

	.my-order .list .item .item-info .text .name {
		width: 350rpx;
		color: #282828;
	}

	.my-order .list .item .item-info .text .money {
		text-align: right;
	}

	.my-order .list .item .totalPrice {
		font-size: 26rpx;
		color: #282828;
		text-align: right;
		margin: 27rpx 0 0 30rpx;
		padding: 0 30rpx 30rpx 0;
		border-bottom: 1rpx solid #eee;
	}

	.my-order .list .item .totalPrice .money {
		font-size: 28rpx;
		font-weight: bold;
	}

	.my-order .list .item .bottom {
		height: 107rpx;
		padding: 0 30rpx;
	}

	.my-order .list .item .bottom .bnt {
		width: 176rpx;
		height: 60rpx;
		text-align: center;
		line-height: 60rpx;
		color: #fff;
		border-radius: 50rpx;
		font-size: 27rpx;
	}

	.my-order .list .item .bottom .bnt.cancelBnt {
		border: 1rpx solid #ddd;
		color: #aaa;
	}

	.my-order .list .item .bottom .bnt~.bnt {
		margin-left: 17rpx;
	}

	.noCart {
		margin-top: 171rpx;
		padding-top: 0.1rpx;
	}

	.noCart .pictrue {
		width: 414rpx;
		height: 336rpx;
		margin: 78rpx auto 56rpx auto;
	}

	.noCart .pictrue image {
		width: 100%;
		height: 100%;
	}
</style>